<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>浮动布局</title>
    <style>
        .one {
            width: 100px;
            height: 100px;
            background-color: #ff3939;

            float: left;
        }

        .two {
            width: 200px;
            height: 200px;
            background-color: #51d945;

            /*float: left;*/
            float: right;
        }
    </style>
</head>
<body>
<div class="one"></div>
<div class="two"></div>
</body>
</html>
